Optimal. Leaf size=273 \[ \frac {f \sqrt {c d x+d} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )^2}{4 b c \sqrt {1-c^2 x^2}}+\frac {f \left (1-c^2 x^2\right ) \sqrt {c d x+d} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )}{3 c}+\frac {1}{2} f x \sqrt {c d x+d} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )-\frac {b c f x^2 \sqrt {c d x+d} \sqrt {f-c f x}}{4 \sqrt {1-c^2 x^2}}-\frac {b f x \sqrt {c d x+d} \sqrt {f-c f x}}{3 \sqrt {1-c^2 x^2}}+\frac {b c^2 f x^3 \sqrt {c d x+d} \sqrt {f-c f x}}{9 \sqrt {1-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.31, antiderivative size = 273, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 6, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4673, 4763, 4647, 4641, 30, 4677} \[ \frac {f \sqrt {c d x+d} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )^2}{4 b c \sqrt {1-c^2 x^2}}+\frac {f \left (1-c^2 x^2\right ) \sqrt {c d x+d} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )}{3 c}+\frac {1}{2} f x \sqrt {c d x+d} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )+\frac {b c^2 f x^3 \sqrt {c d x+d} \sqrt {f-c f x}}{9 \sqrt {1-c^2 x^2}}-\frac {b c f x^2 \sqrt {c d x+d} \sqrt {f-c f x}}{4 \sqrt {1-c^2 x^2}}-\frac {b f x \sqrt {c d x+d} \sqrt {f-c f x}}{3 \sqrt {1-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 4641
Rule 4647
Rule 4673
Rule 4677
Rule 4763
Rubi steps
\begin {align*} \int \sqrt {d+c d x} (f-c f x)^{3/2} \left (a+b \sin ^{-1}(c x)\right ) \, dx &=\frac {\left (\sqrt {d+c d x} \sqrt {f-c f x}\right ) \int (f-c f x) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (\sqrt {d+c d x} \sqrt {f-c f x}\right ) \int \left (f \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )-c f x \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )\right ) \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (f \sqrt {d+c d x} \sqrt {f-c f x}\right ) \int \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \, dx}{\sqrt {1-c^2 x^2}}-\frac {\left (c f \sqrt {d+c d x} \sqrt {f-c f x}\right ) \int x \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {1}{2} f x \sqrt {d+c d x} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )+\frac {f \sqrt {d+c d x} \sqrt {f-c f x} \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 c}+\frac {\left (f \sqrt {d+c d x} \sqrt {f-c f x}\right ) \int \frac {a+b \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx}{2 \sqrt {1-c^2 x^2}}-\frac {\left (b f \sqrt {d+c d x} \sqrt {f-c f x}\right ) \int \left (1-c^2 x^2\right ) \, dx}{3 \sqrt {1-c^2 x^2}}-\frac {\left (b c f \sqrt {d+c d x} \sqrt {f-c f x}\right ) \int x \, dx}{2 \sqrt {1-c^2 x^2}}\\ &=-\frac {b f x \sqrt {d+c d x} \sqrt {f-c f x}}{3 \sqrt {1-c^2 x^2}}-\frac {b c f x^2 \sqrt {d+c d x} \sqrt {f-c f x}}{4 \sqrt {1-c^2 x^2}}+\frac {b c^2 f x^3 \sqrt {d+c d x} \sqrt {f-c f x}}{9 \sqrt {1-c^2 x^2}}+\frac {1}{2} f x \sqrt {d+c d x} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )+\frac {f \sqrt {d+c d x} \sqrt {f-c f x} \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 c}+\frac {f \sqrt {d+c d x} \sqrt {f-c f x} \left (a+b \sin ^{-1}(c x)\right )^2}{4 b c \sqrt {1-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.08, size = 260, normalized size = 0.95 \[ \frac {f \sqrt {c d x+d} \sqrt {f-c f x} \left (12 a \sqrt {1-c^2 x^2} \left (-2 c^2 x^2+3 c x+2\right )+8 b c x \left (c^2 x^2-3\right )+9 b \cos \left (2 \sin ^{-1}(c x)\right )\right )-36 a \sqrt {d} f^{3/2} \sqrt {1-c^2 x^2} \tan ^{-1}\left (\frac {c x \sqrt {c d x+d} \sqrt {f-c f x}}{\sqrt {d} \sqrt {f} \left (c^2 x^2-1\right )}\right )+6 b f \sqrt {c d x+d} \sqrt {f-c f x} \left (4 \left (1-c^2 x^2\right )^{3/2}+3 \sin \left (2 \sin ^{-1}(c x)\right )\right ) \sin ^{-1}(c x)+18 b f \sqrt {c d x+d} \sqrt {f-c f x} \sin ^{-1}(c x)^2}{72 c \sqrt {1-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-{\left (a c f x - a f + {\left (b c f x - b f\right )} \arcsin \left (c x\right )\right )} \sqrt {c d x + d} \sqrt {-c f x + f}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {c d x + d} {\left (-c f x + f\right )}^{\frac {3}{2}} {\left (b \arcsin \left (c x\right ) + a\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.28, size = 0, normalized size = 0.00 \[ \int \sqrt {c d x +d}\, \left (-c f x +f \right )^{\frac {3}{2}} \left (a +b \arcsin \left (c x \right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ b \sqrt {d} \sqrt {f} \int -{\left (c f x - f\right )} \sqrt {c x + 1} \sqrt {-c x + 1} \arctan \left (c x, \sqrt {c x + 1} \sqrt {-c x + 1}\right )\,{d x} + \frac {1}{6} \, {\left (3 \, \sqrt {-c^{2} d f x^{2} + d f} f x + \frac {3 \, d f^{2} \arcsin \left (c x\right )}{\sqrt {d f} c} + \frac {2 \, {\left (-c^{2} d f x^{2} + d f\right )}^{\frac {3}{2}}}{c d}\right )} a \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,\sqrt {d+c\,d\,x}\,{\left (f-c\,f\,x\right )}^{3/2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {d \left (c x + 1\right )} \left (- f \left (c x - 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {asin}{\left (c x \right )}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________